package test4;

public class Person {
    public void feed(Animal animal){
        System.out.println("人喂养动物");
        animal.eat();
    }
    public void catchAnimal(Afraid animal){
        System.out.println("人追赶动物");
        animal.makeSounds();
        animal.escape();
    }
}
